import dao.imp.Userdaoimp;
import domain.User;

import java.sql.SQLException;
import java.util.List;

public class Test {
    public static void main(String[] args) throws SQLException {
        Userdaoimp udi=new Userdaoimp();
        User user=new User("张三","123");
       List<User> users=udi.selectUser(user);
       for(User u:users){
           System.out.println(u);
       }
    }
}
